package cn.glc.daily.life.infrastructure.dao;

import cn.glc.daily.life.infrastructure.po.TemplatePo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 模板
 *
 * @author simon
 * @date 2021/6/4 18:14
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
public interface TemplateDao extends BaseMapper<TemplatePo> {

    /**
     * 通过code 查询模板内容
     *
     * @param code
     * @return
     */
    TemplatePo findByCode(@Param("code") String code);
}
